<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>회원 탈퇴</title>
	
	<link type="text/css" rel="stylesheet" href="/spring-GOP/css/common.css">
    <link type="text/css" rel="stylesheet" href="/spring-GOP/css/style.css">
    <link type="text/css" rel="stylesheet" href="/spring-GOP/css/myprimus/style_50.css">
    <link type="text/css" rel="stylesheet" href="/spring-GOP/css/myprimus/style_5050.css">
</head>
<script>
function match(){
	var pw =  document.getElementById("UserPwd_txt").value;

	if(pw == '${user.getMember_pw()}'){
		
		alert("성공");
		document.location = "/spring-GOP/myprimus/meminfomodileave/userleaves";
	}else{
		alert("실패 다시 입력");
		UserPwd_txt.focus();
		return;
	}
}
</script>


<body>

<div id="wrapper">

	
	
	<!-- container -->
<div id="container">
    <!-- content -->
    <div id="content">
        <!-- main-shortCut -->
        <div id="main-shortCut">
            <!-- sub-main-section -->
            <div class="sub-main-section c50 c5050">
                <div class="page-type3">
                    <h2><p>MY Primus</p>MY <span>Primus</span></h2>
                </div>

                <!-- listTab mainTab -->
                <div class="listTab mainTab">
                    <ul style="height: 830px;">
                        <li>
                            <p class="line" style="width: 990px; display: none;"></p>
                            <h3 class="tab-title"><a href="/spring-GOP/pages/myprimus/reservation/reservation.jsp" title="예매확인/취소"><span style="width: 196px;">예매확인/취소</span></a></h3>
                            <!-- main-tab tab-content -->
                            <ul class="ul-tab main-tab tab-content" style="display: none;">
                            </ul>
                            <!-- //main-tab tab-content -->
                        </li>
                        <li>
                            <p class="line" style="width: 990px; display: none;"></p>
                            <h3 class="tab-title"><a href="/spring-GOP/pages/myprimus/reservation/reservation.jsp" title="MY포인트"><span style="width: 196px;">MY 포인트</span></a></h3>
                            <!-- main-tab tab-content -->
                            <ul class="ul-tab main-tab tab-content" style="display: none;">
                            </ul>
                            <!-- //main-tab tab-content -->
                        </li>
                       
                        <li>
                            <p class="line" style="width: 990px; display: block;"></p>
                            <h3 class="tab-title on"><a href="/spring-GOP/pages/myprimus/meminfomodileave/userinfolog.jsp" title="회원정보수정/탈퇴"><span style="width: 196px;">회원정보수정/탈퇴</span></a></h3>
                            <!-- main-tab tab-content -->
                            <div class="ul-tab main-tab tab-content" style="width: 948px; padding: 0px 20px; display: block;">
                                <div>
                                    <h4 class="margin-top5 margin-bottom5">회원정보수정/탈퇴</h4>
                                    <!-- UserInfo2 -->
                                    <div class="UserInfo2">
                                        <!-- 회원탈퇴 leave-input-section -->
                                        <div class="leave-input-section" style="display: block;">
                                            <div class="clear_both"></div>
                                            <div class="line-ccc margin-top10"></div>
                                            <div class="action-desc">
                                                <h6>${user.getMember_name()} 회원님, <span>회원탈퇴를 하시겠습니까?</span></h6>
                                                <p class="margin-top20 margin-bottom5">GOP와 함께 하시는 동안 불편하셨던 점이나 기타 불만 사항이 있으셨다면 대단히 죄송합니다.</p>
                                                <p>회원탈퇴 사유를 입력해 주시면 불편하셨던 점을 적극 반영하여 변화하는 GOP가 되도록 최선을 다하겠습니다.</p>
                                                <div class="margin-top25"></div>
                                            </div>
                                            <div class="line-ccc"></div>
                                            <dl>
                                                <dt>01</dt>
                                                <dd>회원 탈퇴를 하시면 GOP 홈페이지 가입정보 및 멤버십 카드 정보, 포인트가 모두 삭제되어 복구가 불가능합니다.</dd>
                                                <dt>02</dt>
                                                <dd>회원 탈퇴 시 예매 내역도 삭제되므로 예매 취소가 불가능합니다. 다시 한번 예매 내역을 확인하시기 바랍니다.</dd>
                                                <dt>03</dt>
                                                <dd>회원 탈퇴 후 언제든지 재가입이 가능합니다.</dd>
                                                <dt>04</dt>
                                                <dd>궁금하신 사항이 있으시면 ARS 552-1818 고객센터로 문의해 주시기 바랍니다.</dd>
                                                <dt>05</dt>
                                                <dd class="password-dd">안전한 회원 탈퇴를 위한 로그인 <span>비밀번호를 입력해주세요.</span><label for="password2" style="margin-right: 10px;">비밀번호 입력</label><input type="password" id="UserPwd_txt" class="input-box name_txt" name="UserPwd_txt" title="비밀번호를 입력하세요"></dd>
                                            </dl>
                                            <div class="line-999 margin-top20 margin-bottom30"></div>
                                            <div class="center-btn">
                                            	<a href="javascript:match()" class="button h30 w100  orange margin-right10"><b>회원탈퇴</b></a>
                                            	<a href="userinfomodi" class="button h30 w100 white"><b>취소</b></a></div>
                                        </div>
                                        <!-- //회원탈퇴 leave-input-section -->
                                    </div>
                                    <!-- //UserInfo2 -->
                                </div>

                            </div>
                            <!-- //main-tab tab-content -->
                        </li>

                    </ul>
                </div>
                <!-- //listTab mainTab -->

            </div>
            <!-- //sub-main-section -->
        </div>
        <!-- //main-shortCut -->
    </div>
    <!-- //content -->
</div>
<!-- //container -->

	
	
</div>
</body>
</html>

